package com.zking.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Tanglei
 * @date 2020/8/18 - 19:24
 */
@Controller
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/index")
    public String index(){
        return "Front_page/hello";
    }

    @RequestMapping("/index2")
    public String index2(){
        return "Front_page/index";
    }

    @RequestMapping("/test")
    public String test(){
        return "backend_page/index";
    }
}
